package com.hirsi.core;

import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.ApiInfoBuilder;
import springfox.documentation.service.ApiInfo;
import springfox.documentation.service.Contact;

@Configuration
public class DeveloperServerConfig {

    @Bean
    public ApiInfo apiInfo() {
        return new ApiInfoBuilder()
                .title("最淘客-开发者端接口文档")
                .description("")
                .termsOfServiceUrl("https://www.52gh.com")
                .contact(new Contact("封夕","https://www.52gh.com","hirsi.he@qq.com"))
                .version("1.0.0")
                .build();
    }
}
